package com.qinglei.recoup.system.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

@Data
public class HealthDetailParamV1 extends PageParam{


    private Integer bedId;

    @NotNull
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate  startTime;

    @NotNull
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endTime;

    @ApiModelProperty("楼id")
    private Integer buildingId;

    @ApiModelProperty("层id")
    private Integer floorId;

    @ApiModelProperty("房间id")
    private Integer roomId;

}